#!/usr/bin/env python
# -*- mode: python; coding: utf-8; -*-
##---------------------------------------------------------------------------##
##
## Copyright (C) 1998-2003 Markus Franz Xaver Johannes Oberhumer
## Copyright (C) 2003 Mt. Hood Playing Card Co.
## Copyright (C) 2005-2010 Skomoroh
## Copyright (C) 2010-2013 Jeremy Austin-Bardo
##
## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation, either version 3 of the License.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program.  If not, see <http://www.gnu.org/licenses/>.
##
##---------------------------------------------------------------------------##
#!/usr/bin/env python
# -*- mode: python; coding: utf-8; -*-
##---------------------------------------------------------------------------##
##
## Copyright (C) 1998-2003 Markus Franz Xaver Johannes Oberhumer
## Copyright (C) 2003 Mt. Hood Playing Card Co.
## Copyright (C) 2005-2010 Skomoroh
## Copyright (C) 2010-2013 Jeremy Austin-Bardo
##
## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation, either version 3 of the License.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program.  If not, see <http://www.gnu.org/licenses/>.
##
##---------------------------------------------------------------------------##
#!/usr/bin/env python
# -*- mode: python; coding: utf-8; -*-
##---------------------------------------------------------------------------##
##
## Copyright (C) 1998-2003 Markus Franz Xaver Johannes Oberhumer
## Copyright (C) 2003 Mt. Hood Playing Card Co.
## Copyright (C) 2005-2010 Skomoroh
## Copyright (C) 20010 Jeremy Austin-Bardo
##
## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program.  If not, see <http://www.gnu.org/licenses/>.
##
##---------------------------------------------------------------------------##

from ...gamelib import info as gi
from . import __common__ as Puzzle

GT, SL = gi.GT, gi.SL

class Matrix3(Puzzle.MatrixGame):
    __info__ = dict(id=22223, name=" 3x3 Matrix", game_type=GT.MATRIX,
                    version='0.50fc')
    ROWS = [3]*3


class Matrix4(Matrix3):
    __info__ = dict(id=22224, name=" 4x4 Matrix", game_type=GT.MATRIX,
                    version='0.50fc')
    ROWS = [4]*4


class Matrix5(Matrix3):
    __info__ = dict(id=22225, name=" 5x5 Matrix", game_type=GT.MATRIX,
                    version='0.50fc')
    ROWS = [5]*5


class Matrix6(Matrix3):
    __info__ = dict(id=22226, name=" 6x6 Matrix", game_type=GT.MATRIX,
                    version='0.50fc')
    ROWS = [6]*6


class Matrix7(Matrix3):
    __info__ = dict(id=22227, name=" 7x7 Matrix", game_type=GT.MATRIX,
                    version='0.50fc')
    ROWS = [7]*7


class Matrix8(Matrix3):
    __info__ = dict(id=22228, name=" 8x8 Matrix", game_type=GT.MATRIX,
                    version='0.50fc')
    ROWS = [8]*8


class Matrix9(Matrix3):
    __info__ = dict(id=22229, name=" 9x9 Matrix", game_type=GT.MATRIX,
                    version='0.50fc')
    ROWS = [9]*9


class Matrix10(Matrix3):
    __info__ = dict(id=22230, name="10x10 Matrix", game_type=GT.MATRIX,
                    version='0.50fc')
    ROWS = [10]*10


class Matrix20(Matrix3):
    __info__ = dict(id=22240, name="20x20 Matrix", game_type=GT.MATRIX,
                    version='0.50fc')
    ROWS = [20]*20


PROVIDES = [Matrix3, Matrix4, Matrix5, Matrix6, Matrix7, Matrix8, Matrix9,
            Matrix10] #Matrix20